import styled from 'styled-components'

export const PersonWrapper = styled.div`
  background: #eee;
  display: block;
  -webkit-box-shadow: 0 17px 10px -8px #ccc inset;
  -moz-box-shadow: 0 17px 10px -8px #ccc inset;
  box-shadow: 0 17px 10px -8px #ccc inset;
  padding: 30px 0px;
  box-sizing: border-box;
  overflow: hidden;
`

export const ContentWrapper = styled.div`
  width: 1200px;
  margin: 0 auto;
`

export const NavWrapper = styled.div`
  width: 250px;
  float: left;
  background: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
`

export const NavTitle = styled.div`
  padding-left: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  background: #8BCA34;
  line-height: 46px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: #fff;
`

export const ImgWrapper = styled.div`
  text-align: center;
  margin: 20px auto;
  font-size: 18px;
  img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
  }
`

export const MenuWrapper = styled.ul`
  a {
    color: #333;
    font-size: 14px;
    li {
      line-height: 46px;
      text-align: center;
      &.active {
        color: #8BCA34;
        border-left: 3px solid #8BCA34;
      }
      span {
        margin-left: 15px;
      }
    }
  }
`

export const Content = styled.div`
  width: 900px;
  float: right;
  background: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
`

export const ContentTitle = styled.div`
  padding-left: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  background: #8BCA34;
  line-height: 46px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: #fff;
`

export const ContentItem = styled.div`
  padding: 20px;
`

// 修改头像
export const EditWrapper = styled.div`
  width: 45%;
  float: left;
`

export const Preview = styled.div`
  width: 55%;
  float: right;
  .pre-128 {
    width: 200px;
    text-align: center;
    float: left;
    img {
      width: 128px;
      height: 128px;
      border-radius: 50%;
    }
  }
  .pre-68 {
    width: 100px;
    text-align: center;
    float: left;
    img {
      width: 64px;
      height: 64px;
      border-radius: 50%;
    }
  }
`

